package com.spic.business.plan.drill.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.business.common.core.domain.BasicEntity;
import com.spic.common.core.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 应急预案计划演练明细对象 plan_drill_plan_detail
 *
 * @author spic
 * @date 2021-10-15
 */
@Data
public class PlanDrillPlanDetail extends BasicEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 演练计划关联主键 */
    @Excel(name = "演练计划关联主键")
    private Long drillPlanId;


    /** 预案名称 */
    @Excel(name = "预案名称")
    private String planName;

    /** 计划开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 计划结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 组织部门 */
    @Excel(name = "组织部门")
    private String organizeDepartment;

    /** 负责人 */
    @Excel(name = "负责人")
    private String principal;

    /** 参加部门单位 */
    @Excel(name = "参加部门单位")
    private String joinDepartment;

    /** 计划参与人数 */
    @Excel(name = "计划参与人数")
    private Integer joinPersonCount;

    /** 预算费用 */
    @Excel(name = "预算费用")
    private Double budget;

    /** 演练形式 */
    @Excel(name = "演练形式")
    private String form;
}
